/**
 * 
 */
package mockapp;

/**
 * @author Rodrigo Barbosa Lira
 *
 */
public class SampleClientAppImpl implements SampleClientApp {
	
	private boolean var = false;
	
	private char ch;
	
	private String text;

	/* (non-Javadoc)
	 * @see mockapp.SampleClientApp#onEvent1()
	 */
	@Override
	public void onEvent1() {
		this.var = true;
	}

	/* (non-Javadoc)
	 * @see mockapp.SampleClientApp#onEvent2(char)
	 */
	@Override
	public void deuproblema(char ch) {
		this.ch = ch;
	}

	/* (non-Javadoc)
	 * @see mockapp.SampleClientApp#onEvent3(java.lang.String)
	 */
	@Override
	public void onEvent3(String text) {
		this.text = text;
	}

	/**
	 * @return the var
	 */
	public boolean isVar() {
		return var;
	}

	/**
	 * @return the ch
	 */
	public char getCh() {
		return ch;
	}

	/**
	 * @return the text
	 */
	public String getText() {
		return text;
	}

}
